curwd <- dirname(rstudioapi::getActiveDocumentContext()$path)
setwd(curwd)
This repository contains data and scripts for data analysis for the following article:
Bret, A., Beffara, B., Mierop, A., & Mermillod, M. (2017, November 16). Differentiated evaluation of counter-conditioned stimuli as a function of right-wing authoritarianism. https://doi.org/10.31234/osf.io/3mfa8
Description of the different files and folders in the root of the repository:
- Bayes_R2_MZ_function.R → a function to compute R2 for Bayesian ordinal models
- effect_sizes.R → script used to compute effect sizes for our models/parameters of interest
- ida → folder containing scripts for data analyses associated with the first IDA of the article (counter-conditioning)
- ida_CE → folder containing scripts for data analyses associated with the second IDA of the article (conditioning)
- xpXX → There is one folder for each experiment. Each folder contains scripts for data analyses for each individual study but these scripts are not useful in the context of the present article since only IDAs ar included. However raw data for each individual study can be found in these folders.